Implemented update post handler