Changing status flag