update star.html logic.