js: update edit activity form