check for route before updating last_activity

it may have been deleted