Delete funtions from db