update funcitonality
misnamed the destroy action