update sprite
remove some useless attributes