update workspace & rules