Update DatabaseStore.php