removed db refresh stuff