[fix] provide define function to set data against defaults