Fix error with update updated and added fields