fix app update bug