update cost Validation