update chain model