Added feature for setting versionlock