updated load method