updating for the last time