changing data-method from new to get in new entry button