update pipeline with calculating width