Adding new entries
New function - editing entries