update sprite file