update preconditon