attachment update