Update on paste event