add set rw path method