Adding reg update code and default assignmentd for block registers.