Updated SQLManager