Listen for key updates and handle them