changed encoding
added explained sql-querys to be kind-of-used in the application to update data in the database