set singular var in edit controller action