Updated chapel framework