update to fix relative path problem