edits orders controller