update url to path to solove ajax path