logic error in last update