Added support for toggling a boolean field