edited orders controller