updated mock to store last post