Solution:
if you are using the child theme then you can directly update as it does not effect your changes for child theme and for showing maintenance there are many plugins that provides the maintenance mode functionality.one of theme is
LightStart – Maintenance Mode, Coming Soon and Landing Page Builder
its show a template while you are in maintenance mode once done change deactivate the maintenance mode