fixed Text.update

there was a bug when updating empty translated part
TextFragment.update() validates before updating
web ui has working save functionality