Update error checks