Improving regulatory capacity to manage risks associated with trade agreements