update block chain