Migrated update statement, corrected parse errors

Moved update statement to edit_database_model and corrected parse errors
checker.php and edit_database_model.ph (marami pala T_T). Remaining
problem: nag-eerror na call to undefined function pag tumawag ng method
ni checker.