Remvoe message when a viste is updated and a minor code fix.