Updated the Documentation samples to version 5.0 - Beta2