Added param table to update and destroy- still needs some work