fixed posts update method