Updating Post controller