updating path values and colors from div