Working attendance update to database. Some graphical changes