Bump to version 2.6
Migration of some deprecated funcions and events API