updating path style