update activity mainly