add function to set sdk