Write check before update