Use of hydrogels to fix bone replacement