Revise add_keywords function to reset keywords for a post upon edit.