Updated xPos and yPos in numerous methods