Added database argument to new feed function