changed teacher update ui and repository impl