rename current buffer function