changed appointment attended to boolean