update
Working with flags