added an update action