Destroy and update publish methods added through ajax, also added units to producst

Signed-off-by: tomasherrera <tomas.herrera@koombea.com>