Add 'update' command to update packages index.