added new post and edited post