make jQuery extension better suited for updates