updating methods to handle task codes in addition to project codes