Updated database to handle doubles instead of integers for values