update location for db