some changes to app update statement