updated version and dependencies to 0.40