change database update method, modify selector for buttons in memesAjax