[feature] implement sp_add and sp_rm API