Changes in update

update registers