Fix update permissions
Merge branch 'new-arch' of https://github.com/subjectsplus/SubjectsPlus into new-arch