add permalink model