update version to 4.039
add documentation