update controller spec
tidy up template