updating page url via history api