Let $\mathcal{A}$ be a unital $\ast$-algebra over $\mathbb{C}$ (the field of complex number). For any $\alpha, \beta \in \mathcal{A}$, define $\alpha \circ \beta=\alpha^\ast \beta-\beta^\ast \alpha$. In this article, it is shown that a map $\vartheta$ : $\mathcal{A} \rightarrow \mathcal{A}$ (need not be linear) satisfies $\vartheta(P_n(\lambda_1,\lambda_2, \ldots,\lambda_n))=\sum_{i=1}^{n} P_n(\lambda_1,\ldots, \lambda_{i-1}, \vartheta(\lambda_i), \lambda_{i+1},\ldots,\lambda_n)$ for all $\lambda_1, \lambda_2,\ldots, \lambda_n \in \mathcal{A}$ if and only if $\vartheta$ is an additive $\ast$-derivation. As applications, we apply our main result to various special classes of unital $\ast$-algebras, such as prime $\ast$-algebras, factor von Neumann algebras and von Neumann algebra with no central summands of type $I_1$.