update loading directive