Fixed setting attributes on sync up