update code for url mod rewrite update