RMS Prop vs. Adam in the Excel sheet from Lesson 5

I’m digging into the excel sheet for exploring the different optimization routines.

In the RMSProp sheet, new b in row 6 is =C6-F6*$D$2/SQRT(J5).

In the Adam sheet, new b in row 6 is =C6-J6*$D$2/SQRT(L6).

So it looks like the RMSprop version is the step in the previous time step in the square root, but the Adam sheet uses the current time step in the square root. Are these both correct? If not, which is right?