update to current upstream 1.4.0 version