update get coordinates method