* update the sprite only if its valid