added insert method for url data