updating the recent codes