update sprite and backimg