updated methods to Database-interface