removed edit attribute in the controller