update resource, use android.app.Application