Added saving coordinates in db