updates boolean value attributes