updating reg stat and reg and rob