db save after location updated