added functionality for rejecting, editing orders