appversion is now also updated in database