added reset instance method to db
moved method routing to own function for readability