* add global method support * fix errors * remove wrong updates * remove wrong updates * add onDrag as option * fix wrong updates