Updating the sprite