Updating state method in base action