update sqlite max