added send a post and update posts