updating tasks copy for sync