remove redundant emptiness check of kwargs before update