added tests for updating a non-existent environment