upgrading sql, atom seperating