updated loader