ECal code updates