edit check submodel null