updating path in widgets