feat(db): replace table on update and data reformating #SOCRFW-129