removed the set timeout method from admin refreshdatabase because i am not a hack