Sprite update. Closes #488