update reduce and commit