Renamed method save in edit controller to publish