## Summary
When I tried to edit the duration of a session in history I got a function not found error.
## Context
Page:
/menu
## Steps to Reproduce
  1. Go to history. 2. Click a session. 3. Click the duration length on the workout. 4. Input new values. 5. Hit save
## Expected Behavior
The length should have updated without an error.
## Actual Behavior
An error popped up!