code: def update(ctx, migrate=False):
      '''Perform a development update'''
      msg = 'Update all dependencies'
      if migrate:
          msg += ' and migrate data'
      header(msg)
      info('Updating Python dependencies')
      lrun('pip install -r requirements/develop.pip')
      lrun('pip install -e .')
      info('Updating JavaScript dependencies')
      lrun('npm install')
      if migrate:
          info('Migrating database')
          lrun('udata db migrate'f update(ctx, migrate=False):
      '''Perform a development update'''
      msg = 'Update all dependencies'
      if migrate:
          msg += ' and migrate data'
      header(msg)
      info('Updating Python dependencies')
      lrun('pip install -r requirements/develop.pip')
      lrun('pip install -e .')
      info('Updating JavaScript dependencies')
      lrun('npm install')
      if migrate:
          info('Migrating database')
          lrun('udata db migrate')
docs: Perform a development update