Fixed post updating bug.