Updated schema revision to 40