changing update statement
modified plugin to ensure database is connected
- this removes any issues with DB connection errs spamming logs
- updated mysql update statement, to update current time