Updating display of checkbox