Changed ENV.merge to ENV.update.