update version string.
deleted obsolete functions.