Update packages and downgrade project to v4