Auto update path for mac