sync to server, new and first final logic implemented