saves an entry