update recibos r set identificador_recibo = (select min(l.identificador_linea) from linea l where l.indetificador_recibo = r.indetificador_recibo)