add class function to audit to check if published ; UI updates