updated getting all posts