add: get data form db + insert new data