updated appointment module