Update flash messages documentation

Fix doc