new insert function acts similar to update function, testing imminent