update post and settings