changed hooks to use MaestranoService