Fixed outdated import

This PR fixes the outdated import of gocheck as well as updating charm to v4.