Set SL/TP of open position

 
Whats the code for setting the SL and TP of an existing "open" position?

I could not seem to find it from the documentations.