update identity handling