update weekly update flow

condense and comment code for weekly updates.