update to work with 4.0.0