Update entry.c

Entry creat and destroy done