Error on controller for updating policy resource.