fixed bug with updatecoords