Added Update Configuration Function

Added the ability to define settings at the point of initialisation,
and then change them later on.