To set the General info details by using API