support database feature
modify database accessor