add database operation