update det equation