Format code in update.sh
Register migrations during update. Use bash as default shell