Updating controller template