fixed examples and added yesterday api