updated trim