update reduce and annotation