save location to DB