Update postSQL method