Update init method