How did you managed to get married here with your tourist visa??
You definitely cannot transfer your tourist to spouse visa! You have to go back home and start from the step 1.
You better hope the ECO won't ask why you applied for tourist visa before and got married here.