update ECP to version 2.1, inc. javadoc