fix bug in update backend from the UI