CORE-4618: created a secured version of the update-workflow endpoint