update java_home and brew packages