changing the way elements are refresh from DB (no more onvalue)