update method signature for resizable and draggable callbacks