Changed sync field to long