fix slug and post update