Updating sprite example