update to version 0.40