update manifest (target, uses-permissions)