Update init session when create app