template resolution and form updates