updating complete and top