public function updateProject(Project $project, $composerJson)
    {

        $response = $this->getResponse(
            'post',
            sprintf('v2/projects/%s', $project->getProjectKey()),
            array(),
            array('project_file' => $composerJson)
        );

        return $this->hydrator->hydrate($project, $response);
    }