Kim and Kanye agree to joint custody of their kids