add getUpdates endpoint