update to new API, bump -> 0.4.0