private static String executeUpdateCommand(DataBaseManager dbManager, Command command) {
        List<String> args = command.getArgs();

        String tableName = args.get(0);
        List<String> params = args.subList(1, args.size());

        String msg;
        try {
            dbManager.updateByKey(tableName, params);
            msg = "data updated";
        } catch (DBUnavailabilityException e) {
            msg = e.getMessage();
        } catch (DataBaseTableException e) {
            msg = e.getMessage();
        } catch (DataBaseRequestException e) {
            msg = e.getMessage();
        }
        return msg;
    }