add database relate operation