image render small fix, sql data update, minor fixies