added support for versionlock