updating loading mechamism