update DB and add action to button view map