change ping db logic
Merge pull request #219 from auth0/change_ping_db_logic

change ping db logic