removed some deprecated functions and updated version nr