Hot glue would be the cheap and easy way to go, or there is aquarium silicone you can buy that would do the trick.