updating resources and apk