update with trailing slash