update to sprite engine