add action to db