Updated database storage method