finally put coordinates in db