updated patient queue system