diff --git a/README.md b/README.md
index b99673d..ecb5093 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
# Moodle app for YunoHost
[](https://install-app.yunohost.org/?app=Moodle)
-
+Version: **3.5.1**
Moodle - the world's open source learning platform
Moodle is a learning platform designed to provide
diff --git a/conf/app.src b/conf/app.src
index a8b02b2..7c17c2d 100644
--- a/conf/app.src
+++ b/conf/app.src
@@ -1,5 +1,5 @@
-SOURCE_URL=https://download.moodle.org/download.php/stable34/moodle-3.4.2.tgz
-SOURCE_SUM=1856c045ee52aa97a13ae6c078ee2c270ee966cd80b79cd12f0d2395b592bd8f
+SOURCE_URL=https://github.com/moodle/moodle/archive/v3.5.1.tar.gz
+SOURCE_SUM=ccabd372fcdb253a404428196c1cf0a16529797717b443572250103a29ce1799
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=
diff --git a/conf/config.php b/conf/config.php
index fb51dce..6b3ca8b 100644
--- a/conf/config.php
+++ b/conf/config.php
@@ -402,8 +402,10 @@ $CFG->admin = 'admin';
// example) in sites where the user theme should override all other theme
// settings for accessibility reasons. You can also disable types of themes
// (other than site) by removing them from the array. The default setting is:
-// $CFG->themeorder = array('course', 'category', 'session', 'user', 'site');
-// NOTE: course, category, session, user themes still require the
+//
+// $CFG->themeorder = array('course', 'category', 'session', 'user', 'cohort', 'site');
+//
+// NOTE: course, category, session, user, cohort themes still require the
// respective settings to be enabled
//
// It is possible to add extra themes directory stored outside of $CFG->dirroot.
@@ -416,10 +418,16 @@ $CFG->admin = 'admin';
// Localcachedir is intended for server clusters, it does not have to be shared by cluster nodes.
// The directories must not be accessible via web.
//
-// $CFG->tempdir = '/var/www/moodle/temp'; // Directory MUST BE SHARED by all clsuter nodes.
+// $CFG->tempdir = '/var/www/moodle/temp'; // Directory MUST BE SHARED by all cluster nodes.
// $CFG->cachedir = '/var/www/moodle/cache'; // Directory MUST BE SHARED by all cluster nodes, locking required.
// $CFG->localcachedir = '/var/local/cache'; // Intended for local node caching.
//
+// It is possible to specify a different backup temp directory, use local fast filesystem
+// for normal web servers. Server clusters MUST use shared filesystem for backuptempdir!
+// The directory must not be accessible via web.
+//
+// $CFG->backuptempdir = '/var/www/moodle/backuptemp'; // Directory MUST BE SHARED by all cluster nodes.
+//
// Some filesystems such as NFS may not support file locking operations.
// Locking resolves race conditions and is strongly recommended for production servers.
// $CFG->preventfilelocking = false;
diff --git a/manifest.json b/manifest.json
index 5536fce..3d07b1b 100644
--- a/manifest.json
+++ b/manifest.json
@@ -6,7 +6,7 @@
"en": "Moodle package for YunoHost application.",
"fr": "Moodle de package d’application pour YunoHost."
},
- "version": "4.0",
+ "version": "3.5.1",
"url": "https://moodle.org/",
"license": "free",
"maintainer": {
@@ -14,7 +14,7 @@
"email": "anmol@datamol.org"
},
"requirements": {
- "yunohost": ">= 2.7.2"
+ "yunohost": ">= 3.0"
},
"multi_instance": true,
"services": [