updated stack pointer in reg_file