save location in sqlite.