update loading scripts