added update database after fixing a ruler color within a page