update paste mode