public ApiHead updateHead(final String db, final ApiHead head) {
        logger.info("Entering update head in db: " + db);
        return update(readRoot(db), head);
    }
public ApiHead updateHead ( final String db , final ApiHead head ) { logger . info ( "Entering update head in db: " + db ) ; return update ( readRoot ( db ) , head ) ; }
@param db the name of the db to access
@param head the data for the head
@return the head as created