Added update checkbox display function.