DatabaseModel update function fix
Location name update implemented