add edit/update controller actions for records
can now edit records