delete deprecated and add database provider