update and add done for saving input data
javascript frontend loading