Implementation of auto update

is there any way to implement the auto update function . so that if there is any changes in the resources folder of the app, it app can update itself ?