 update opl_preference set val= date_add(val,interval 1 year)   where var ='dateLast' && val<now(); 
