remove dead code from appointments form and changed update redirect