Fixed update and delete for orders.

Replaced form on each row with a button.
Added a if/else block for remove or update functions.