update call of client to Factory