fix and updating templates/controller/spec