implemented update of user location int the db dynamically