Added the update example with csrf support.

Signed-off-by: Kevin Stone <kevinastone@gmail.com>