refact renren api v1, add put api of renren api v2