Update cntroller, template