* Codestyle errors - fixed
 * move SQL statement to correct location
 * added mysql update file