missing self reference in updateEnvironment