Add method for setting values without render