updates to v4.0.4