Added support for updating flags.
Merge pull request #35 from chessbyte/update_flags

Added support for updating flags