Hoffenheim star Roberto Firmino has ended speculation over his future by agreeing a new deal at the club.