update to sprite