Also switch to maintenance mode during the database updates