updated Contents class