Update permalink/postname on save

Post names didn't update when the title was changed.