update to 4.0 beta