Fixed bug in REST update of operations