updated loading bar