PAHMA-1060: repair of existing frontend code, addition of backend updating code. Now code complete.