modify remote api