Temperature boundary condition update

Add an update() function in temperature boundary condition interface.
Call this function when time step starts in core.cc