Settings changes and db migrations