sql further changes