added updateUserInfo() function to API; added price to database model