last_seen_api: upgrade to version 2 of the API

resolves #4