Update Commitments works! Changed the detail view to update after succesful database update