Update Factory,  added print method in client