updated equations