Update dev struct sql