For the updo I pull the top section of hair into a plait, wrap it round my hand so it forms a bun, and pin it in place with a hair stick. Then I wrap the rest of the locks around the base, either in one or two sections depending how much got used for the initial bun. I tie it at the front then push one end under and the other over, so it's like a twisted rope.
Sometimes the ends escape, which is what happened up top as it was a little loose and messy, but it looks good like that too. The longer it gets the easier it is to keep the ends tucked in. I generally secure it with one or two plain wooden hair sticks if it's feeling a bit wobbly.