update sprite command