intial before update