updates content width