Difference between attach() and sync() in Laravel