How to create and edit work orders