update/delete JS working for now
all functionality working