Aligning Language Models with Real-time Knowledge Editing