Added method to update comment count in memory. Refactored feed_post table operations.