improved logic to save last news