Update flag system

Starting the rough implementation of the update flag system