Syncing Data with the API