update capacity