modify input form.
modify default value when add or change entry.
modify exception handling.