Updated database upload