updating mac file