changes to handle status change vie UI