Update flex object