update keyword in dictionary python