Add function update to appcache wrapper

Fonction update() for appcache can be useful. And the wrapping is just more complete with it.