add update for post