add database operate