Teacher Edit in controller