Updated data.php so it doesn't cache database query