added update of slug based on title of datasource to the datasource save function