Hydrolyze the N-acetyl group to remove the acetyl moiety and generate a free hydrogen on the nitrogen, then methylate the nitrogen to install an N-methyl substituent.