sagemaker_update_context function

Updates a context