updated widget order, added database and error category