update twice