Method for manufacturing electronic package