update ptr
dev for pub