back end js update