change db method