update double