update balance to return time