Send update param to survey edit path
Add hidden field if update param is present
Publish and redirect to dashboard if publishing
Set update instance variable if param is present