check for route before updating last_activity

it may have been deleted
Merge pull request #4 from minrk/check-existing

check for route before updating last_activity