updating environment repo rather than using the chef api directly