added last_sync_attempt flag to repo model
set last_sync_attempt flag during repo sync regardless of success or failure