update path to absolute