Added enum to Update class making it clearer when trying to make an
update