Add sync achievement funtion