Retry to modify added sql handling