Update postcontroller::actionUpdate to save published_at properly