modified gearman
upgrade epub document